import { ProTableProps } from '@ant-design/pro-table';

export interface TableCustomDeploy {
  componentName: string; //默认公共组件
  isPaging?: boolean; //分页
  rows?: number;
  action?: object[];
  api?: string;
  canCheck?: boolean;
  canSort?: boolean;
  size?: 'default' | 'middle' | 'small';
  fieldSetting?: boolean;
  refresh?: boolean;
}

export interface MyProTableProps {
  TableCustomDeploy: TableCustomDeploy; //json配置
  TableBasicDeploy: () => ProTableProps<any, any, any>; //protable暴露配置参数
}
